/********** Local Includes ****************************************************/

#include "imagesource.h"
#include "pausemanager.h"
#include "goalstrategy.h"
#include "runner.h"

#include "cannedsource.h"
#include "testpausemanager.h"
#include "topleftgoalstrategy.h"

/********** Namespaces ********************************************************/

using namespace std;

/********** Program Entry *****************************************************/

int main(int, char **) {
	vector<string> filenames;
	
	for (int i = 0; i <= 7; i++) {
		stringstream ss;
		ss << "real_images2/" << i << ".jpeg";
		filenames.push_back(ss.str());
	}
	
	ImageSource *imageSource = new CannedSource(filenames);
	PauseManager *pauseManager = new TestPauseManager();
	GoalStrategy *goalStrategy = new TopLeftGoalStrategy();
	
	Runner runner(imageSource, pauseManager, goalStrategy);
	runner.run();
}